﻿
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;

namespace print {
    public partial class FrmServer : Form {
        public FrmServer() {
            InitializeComponent();
          
            this.ShowInTaskbar = false;
            this.WindowState = FormWindowState.Minimized;
        }

   
        private void FrmServer_Load(object sender, EventArgs e) {
          
        }

     

    

        private void notifyIcon1_MouseDoubleClick(object sender ,MouseEventArgs e) {
            this.Visible = true;
            if( MessageBox.Show("确定关闭打印服务？" ,"提示" ,MessageBoxButtons.YesNoCancel ,MessageBoxIcon.Question) == DialogResult.Yes ) {
                Application.Exit();
            } else {
               
            }
        }
    }
}
